<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<meta name="apple-mobile-web-app-capable" content="yes" />
		<meta name="apple-mobile-web-app-status-bar-style" content="black" />

		<title>个人中心</title>
		<meta name="keywords" content="" />
		<meta name="description" content="" />

		<link rel="stylesheet" href="css/mui.css" />
		<link rel="stylesheet" href="css/iconfont.css" />
		<link rel="stylesheet" href="css/product.css" />
	</head>

	<body class="bgcolor12">
		<div class="contbox">
			<div class="mui-content">

				<!--logo部分-->
				<div onclick="javascript:window.location.href='index1.html'" class="mui-row">
					<div class="mui-col-xs-12 logobox11 clearfix">
						<img src="img/logo_04.png" /><span>健维商城</span>
					</div>
				</div>
				<!--logo部分-->

				<!--头像部分-->
				<div class="mui-row">
					<div class="mui-col-xs-12 touxiangbox clearfix">
						<div style="background: url(img/e_02.png);height: 200px;background-size:100% 100%; padding-top: 46px;">
							<div class="xiougaibox clearfix">
								<div class="xiougaibox1">
									<img src="img/r1_04.png" />
								</div>
								<div class="xiougaibox1">
									<h4>哪里来的小妞</h4>
									<p id="btn1">更多</p>
								</div>
							</div>
						</div>
					</div>
				</div>
				<!--头像部分-->
				<!--订单部分-->
				<div class="orderbox">
					<div class="orderbox1">
						<h5>订单号：400888000888000888</h5>
						<p>下单时间：2017-3-17</p>
						<div class="shoporder clearfix">
							<div class="shoporder1">
								<img src="img/sp4_15.png" />
							</div>
							<div class="shoporder1">
								<h6>产品名字1</h6>
								<p>价格：888</p>
								<dd>团购人数：98</dd>
								<button class="button1">进行中</button>
							</div>
						</div>
					</div>
					<div class="orderbox1">
						<h5>订单号：40088800088800088833</h5>
						<p>下单时间：2017-3-16</p>
						<div class="shoporder clearfix">
							<div class="shoporder1">
								<img src="img/sp2_08.png" />
							</div>
							<div class="shoporder1">
								<h6>产品名字2</h6>
								<p>价格：8818</p>
								<dd>团购人数：988</dd>
								<button class="button2">已完成</button>
							</div>
						</div>
					</div>
				</div>
				<!--订单部分-->
				<!--个人信息部分-->
				<div class="personalbox">
					<div class="personal clearfix">
						<p><span>昵称</span><span>哪里来的小妞</span></p>
						<p><span>真实姓名</span><span>王嘟嘟</span></p>
						<p><span>性别</span><span>女</span></p>
						<p><span>生日</span><span>2000-13-14</span></p>
						<p><span>单位</span><span>中国艰苦奋斗有限公司</span></p>
						<p><span>加入时间</span><span>2018-8-32</span></p>
					</div>
					<button class="button3">编辑个人信息</button>
				</div>
				<!--个人信息部分-->
				<!--编辑个人信息部分-->
				<div class="editpersonalbox">
					<div class="editpersonal">
						<p><span>昵称</span><input type="text" placeholder="哪里来的小妞" /></p>
						<p><span>真实姓名</span><input type="text" placeholder="王嘟嘟" /></p>
						<p><span>性别</span><input type="text" placeholder="女" /></p>
						<p><span>生日</span><input type="text" placeholder="2000-13-14" /></p>
						<p><span>单位</span><input type="text" placeholder="中国艰苦奋斗有限公司" /></p>
						<p><span>加入时间</span><input type="text" placeholder="2018-8-32" /></p>
					</div>
					<button class="button4">保存</button>
				</div>
				<!--编辑个人信息部分-->
				<!--占位置高度-->
				<div style="height: 75px;"></div>
				<!--占位置高度-->
				<!--底部nav部分-->
				<nav id="navxc" class="mui-bar mui-bar-tab footernav">
					<a class="mui-tab-item ">
						<span style="font-size: 23px;margin-top: 5px;" class="mui-icon iconfont">&#xe624;</span>
						<span class="mui-tab-label">商城首页</span>
					</a>
					<a  class="mui-tab-item ">
						<span style="font-size: 30px;margin-top: -4px;" class="mui-icon iconfont">&#xe6ee;</span>
						<span class="mui-tab-label">产品分类</span>
					</a>
					<a  class="mui-tab-item mui-active">
						<span style="font-size: 25px;" class="mui-icon iconfont">&#xe653;</span>
						<span class="mui-tab-label">个人中心</span>
					</a>
				</nav>
				<!--底部nav部分-->
			</div>
		</div>
		<script src="js/mui.js"></script>
		<script type="text/javascript" src="js/jquery-2.1.0.js"></script>
		<script type="text/javascript" charset="utf-8">
			mui.init();
			//个人中心更多按钮
			var btn1 = document.getElementById("btn1");
			//编辑个人信息按钮
			var button3 = document.getElementsByClassName("button3")[0];
			//编辑个人信息保存按钮
			var button4 = document.getElementsByClassName("button4")[0];
			//订单部分
			var orderbox = document.getElementsByClassName("orderbox")[0];
			//个人信息部分
			var personalbox = document.getElementsByClassName("personal-box")[0];
			//编辑个人信息部分
			var editpersonalbox = document.getElementsByClassName("editpersonalbox")[0];
			//    	个人中心更多按钮
			btn1.addEventListener("tap", function() {
				orderbox.style.display = "none";
				editpersonalbox.style.display = "none";
				personalbox.style.display = "block";
			});
			//    	编辑个人信息按钮
			button3.addEventListener("tap", function() {
				personalbox.style.display = "none";
				editpersonalbox.style.display = "block";
			});
			//    	编辑个人信息保存按钮
			button4.addEventListener("tap", function() {
				orderbox.style.display = "block";
				editpersonalbox.style.display = "none";
			});
			//底部导航链接
			var navxc = document.getElementById("navxc");
			var hrefs = navxc.getElementsByTagName("a")
			hrefs[0].addEventListener('tap', function() {
				mui.openWindow({
					url: '/front/shop/home.do',
					id: 'index1'
				});
			});
			hrefs[1].addEventListener('tap', function() {
				mui.openWindow({
					url: '/front/product/home.do',
					id: 'product'
				});
			});
			hrefs[2].addEventListener('tap', function() {
				mui.openWindow({
					url: '/Personal.html',
					id: 'Personal'
				});
			})
		</script>
	</body>

</html>